package com.linghang.lhonline.repository;

import com.linghang.lhonline.dataobject.Mission;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MissionRepository extends JpaRepository<Mission, Integer> {

    Mission findByMissionId(Integer missionId);

    List<Mission> findByGroupName(String groupName);
}
